﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Approval.aspx.cs" Inherits="ORS.Web.WebForm4" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        .style2
        {
            text-align: left;
            height: 126px;
        }
        .style4
        {
            width: 280px;
            height: 32px;
            text-align: left;
        }
        .style5
        {
            height: 32px;
            text-align: center;
        }
        .style7
        {
            width: 260px;
            height: 32px;
            text-align: center;
        }
        .style8
        {
        }
        .style9
        {
            width: 280px;
            height: 48px;
        }
        .style10
        {
            width: 260px;
            height: 48px;
        }
        .style11
        {
            height: 48px;
        }
        .style12
        {
            height: 126px;
            text-align: center;
        }
        .style13
        {
            text-align: center;
        }
        .style14
        {
            height: 20px;
        }
        .style15
        {
            height: 33px;
            text-align: left;
        }
        #form1
        {
            height: 562px;
        }
    </style>

    <script type="text/javascript">
        function hasChecked(objName, msg) 
        {
          var box = document.getElementsByName(objName);
          var t=0;
          for (var j = 0; j < box.length; j++)
              { if (box[j].checked) t=t+1; }
          if (t == 1)
                  return true;
          else
                  {window.alert(msg);return false;}
          for (var i = 0; i < box.length; i++)
              { if (box[i].checked) return true; }
          window.alert(msg);
          return false;
         }
     
     </script>




</head>
<body style="width: 980px; height: 487px">
    <form id="form1" runat="server">
    <div align="center" 
        style="width: 871px; margin-left: 184px; height: 474px; text-align: right;" 
        class="style8" >
    
        <br />
        <br />
        <br />
        <table id="Table_Edit" runat="server" style="width: 100%; height: 210px;" 
            align="center">
            <tr>
                 <td class="style15">

                     论文ID:<asp:Label ID="lbl_ID" runat="server" Text="Label"></asp:Label>

                 </td>
            </tr>
            <tr>
                <td class="style9" style="text-align: left">
                    论文标题：<asp:TextBox ID="tbx_title" runat="server" Width="191px" ReadOnly="True"></asp:TextBox>
                </td>
                <td class="style10" style="text-align: center">
                    论文作者：<asp:TextBox ID="tbx_cname" 
                        runat="server" Width="108px" ReadOnly="True"></asp:TextBox>
                </td>
                <td style="text-align: left" class="style11">
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    稿件内容：<asp:HyperLink ID="Paper_link" runat="server" Target="_blank">HyperLink</asp:HyperLink>
                </td>
            </tr>
            <tr>
                <td class="style4">
                    初审意见: 
                    <asp:TextBox ID="tbx_review" runat="server" Height="20px" ReadOnly="True" 
                        style="text-align: left" Width="163px"></asp:TextBox>
                </td>
                <td class="style7">
                    审稿人:&nbsp;&nbsp;
                    <asp:TextBox ID="tbx_reviewer" runat="server" ReadOnly="True" Width="110px"></asp:TextBox>
                </td>
                <td class="style5">
                    研究领域:<asp:TextBox ID="tbx_interest" runat="server" ReadOnly="True"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style2" align="center" colspan="2">
                    稿件说明:<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:TextBox ID="tbx_desc" runat="server" Height="89px" ReadOnly="True" 
                        style="text-align: left" Width="423px" 
                        ontextchanged="tbx_desc_TextChanged"></asp:TextBox>
                </td>
                <td class="style12">
                    <div class="style13">
                    终审意见<br />
                        <br />
                    </div>
                    <asp:RadioButtonList ID="rbtn_appove" runat="server" Height="66px" 
                        Width="118px">
                        <asp:ListItem Selected="True" Value="2">通过</asp:ListItem>
                        <asp:ListItem Value="3">拒绝</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
               <td class="style14">
               
                   &nbsp;</td>
               <td class="style14">
               
                   </td>
               <td style="text-align: right" class="style14">
               
                   <asp:Button ID="btncomfirm" runat="server" Height="22px" 
                       onclick="btncomfirm_Click" style="text-align: center" Text="确   定" 
                       Width="85px" />
               </td>
            </tr>
            <tr>
                 <td colspan="3">
      <hr />
 
                 </td>
            </tr>
        </table>
 
 <div>
 
 </div>
  
        <asp:GridView  ID="gvpaper" runat="server" AutoGenerateColumns="False" 
            EnableModelValidation="True" Width="865px" style="text-align: center">
            <Columns>
                <asp:BoundField DataField="paperid" 
                    DataFormatString="&lt;input type=&quot;checkbox&quot; name=&quot;dgselect&quot; value=&quot;{0}&quot;&gt;" 
                    HtmlEncode="False" HeaderText="审核" />
                <asp:BoundField DataField="tiltle" HeaderText="论文标题" />
                <asp:BoundField DataField="cname" HeaderText="作者" />
                <asp:BoundField DataField="reviewer" HeaderText="审稿人" />
                <asp:BoundField DataField="submitdate" DataFormatString="{0:yyyy-MM-dd}" 
                    HeaderText="提交日期" />
                <asp:BoundField DataField="reviewstate" HeaderText="审稿状态" />
            </Columns>
        </asp:GridView>
        <br />
        <asp:Button ID="btnapprove" runat="server" onclick="btnapprove_Click" 
            style="text-align: center" Text="审  核" Width="87px" 
            onclientclick="return hasChecked('dgSelect','请选择一条记录')" />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
    
    </div>
    </form>
</body>
</html>
